//Donate ad

var status = -1;
var need = 300;
var have = 0;
var per = 100/(need/have);

function action(mode, type, selection) {
    if (mode == 1) {
	status++;
    } else {
	if (status == 2) {
	    cm.sendNext("test");
	}
	status--;
    }
    if (status == 0) {
	cm.sendNext("#B"+ per +"#\r\nYou see that meter above, It needs to get filled up by the end of the month so we can stay alive!\r\nYou can help fill it up 2 ways:\r\n\r\n1)Donate to the server and receive great rewards!\r\n2)Go on steadymaple.com and click on our sponsored links ontop of the page.(not the Maple-Hosting ad!)\r\n\r\nClicking the sponosred links doesent cost you a cent and if we get a certain ammount of clicks we will do 2x EXP events and a lot more! So please click the ads every 30 minutes! Thank you!");
   	} else if (status == 1) {
	cm.dispose();
	
}
}


